learn how to use the second derivative test